package com.good.jzhouse.config;

/**
 * @Author: xiaolei
 * @Date: 2021/3/18 18:37
 */
public class MyList {
    Node head;      //头部节点

    //ADD方法
    public  void add(Object value){
         Node node = new Node(value);
         if (head == null){
             head = node;
         }else {
             Node Temp = head;
             while(Temp.next !=null){
                Temp = Temp.next;
             }
         }
    }
}
